#include<stdio.h>
#include<assert.h>

int my_strcmp(const char* p1,const char* p2)
{
	assert(p1&&p2);
	while(*p1||*p2)
	{
		if(*p1!=*p2)
			return (*p1-*p2);
		p1++;
		p2++;
	}
	return 0;
}

int main()
{
	char arr1[]="abc";
	char arr2[]="abp";
	int ret=my_strcmp(arr1,arr2);
	if(ret<0)
		printf("<");
	else if(0==ret)
		printf("==");
	else
		printf(">");
	return 0;
}
